package com.blockmeta.bbs.immodule.net.api;

import com.blockmeta.bbs.businesslibrary.net.pojo.BaseCodeResponse;
import com.blockmeta.bbs.immodule.bean.HongbaoCreateRequest;
import com.blockmeta.bbs.immodule.bean.HongbaoDetail;

import io.reactivex.Flowable;
import retrofit2.http.Body;
import retrofit2.http.POST;

public interface CreateHongbaoApi {
    @POST("im/candy/createBox")
    Flowable<BaseCodeResponse<HongbaoDetail>> createBox(@Body HongbaoCreateRequest hongbaoPojo);
}
